<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>初始vue</title>
    <!-- 引入vue -->
    <script type="text/javascript" src="../js/vue.js"></script>
</head>

<body>
    <div id="app"></div>
    <script>
        let ul = el('div', { id: 'Virtual DOM' }, [
            el('p', {}, ['Virtual DOM']),
            el('ul', { id: 'list' }, [
                el('li', { class: 'item' }, ['Item 1']),
                el('li', { class: 'item' }, ['Item 2']),
                el('li', { class: 'item' }, ['Item 3'])
            ]),
            el('div', {}, ['Hello, World'])
        ])
        console.log(ul);

    </script>
</body>

</html>